package com.qiqv.exception;

/**
 * @author hjr
 * @version 1.0
 * @date 2023/2/14 11:02
 * 自定义服务端异常
 */
public class ApplicationException extends RuntimeException {

    private static final long serialVersionUID = 1L;

    private String errorMsg;

    public String getErrorMsg() {
        return errorMsg;
    }

    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    public ApplicationException(String errorMsg) {
        this.errorMsg = errorMsg;
    }
}
